<!--main-->
<div id="wrapper"> 
	<fieldset>
		<legend>
    <%= link_to 'BUG回复', '/' %>
    </legend>
      <table style="width:100%" class="table table-bordered">
        <thead>
          <th>BUG标题</th>
          <th width="450px">BUG描述</th>
          <th>处理状态</th>
          <th>提交用户</th>
          <th>操作</th>
        </thead>
        <tbody>
        <% @bugs.each do |b| %>
          <tr>
            <td><%= b.title %></td>
            <td><%= b.content %></td>
            <td>
            <% if b.status == 0 %>未修复
            <% elsif b.status == 1 %>已修复
            <% end %>
            </td>
            <td><%= b.contact %></td>
            <td>
            <%= link_to edit_bug_path(b.id), :class => 'ddm' do %>
              <span class="icon icon145"></span>
            <% end %>
            </td>
          </tr>
          <% end %>
        </tbody>
      </table>
      </fieldset>
      </div>
